package com.aboverock.module.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * <p>
 * 角色资源映射表.
 * </p>
 *
 * @author Rock Wang
 * @since 2018-05-11
 */
@TableName("t_sys_role_resource")
public class RoleResource {

    /** 角色ID. */
    @TableField("role_id")
    private String roleId;

    /** 资源ID. */
    @TableField("resource_id")
    private String resourceId;


    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    @Override
    public String toString() {
        return "RoleResource{" +
        ", roleId=" + roleId +
        ", resourceId=" + resourceId +
        "}";
    }
}
